package org.example.pojo;

public class Department {
    private int departno = 0;
    private String departname = "";

    public Department() {
    }

    public Department(int departno, String departname) {
        this.departno = departno;
        this.departname = departname;
    }

    public int getDepartno() {
        return departno;
    }

    public void setDepartno(int departno) {
        this.departno = departno;
    }

    public String getDepartname() {
        return departname;
    }

    public void setDepartname(String departname) {
        this.departname = departname;
    }

    @Override
    public String toString() {
        return "Department{" +
                "departno=" + departno +
                ", name='" + departname + '\'' +
                '}';
    }
}
